package com.far.game.xiuzhen.common.utils.json;

import java.util.Map;

public class FileFactory {

    private Map<String, FileWrapper> fileWrapperMap;

    public FileFactory() {
    }

    public FileFactory(Map<String, FileWrapper> fileWrapperMap) {
        this.fileWrapperMap = fileWrapperMap;
    }

    public FileWrapper getFileWrapper(String dirName) {
        return fileWrapperMap.get(dirName);
    }
}
